package com.bupt.cad.service;

import com.bupt.cad.entity.DataSource;
import com.bupt.cad.entity.DataSourceVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface IDataSourceService {
    int insertDataSource(MultipartFile multipartFile, String name, int screenId);
    DataSource getDataSource(int dataSourceId);
    List<DataSourceVo> getAllDataSource(int screenId);
}
